<template>
  <Panel title="访客" width="380px">
    <div class="info">
      <div class="item">
        <div class="in">138</div>
        <div>今日到访</div>
      </div>
      <div class="item">
        <div class="out">100</div>
        <div>已离场</div>
      </div>
    </div>
  </Panel>
</template>

<script lang="ts" setup></script>
<style lang="scss" scoped>
.info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #ffffff;
  margin: 16px 0px;
  .item {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-items: center;
    gap: 4px;
    .in {
      font-size: 40px;
      background: linear-gradient(242deg, #ffd25d 3%, #ff4c25 107%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
    }
    .out {
      font-size: 40px;
      background: linear-gradient(238deg, #5dffff 0%, #2560ff 107%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
    }
  }
}
</style>
